package com.jblv.frame.user.api.dto;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author happyonion.yangtao
 * @version 1.0
 * @title UserLoginResultDTO
 * @projectName jblv-frame
 * @packageName com.jblv.user.api.dto
 * @description 用户登录结果DTO
 * @date Create at 2020/4/30 22:03
 * @since jdk1.8
 */
public class UserLoginResultDTO implements Serializable {

    private static final long serialVersionUID = -876339615170223493L;

    private String token;
    private String name;
    private String phone;
    private String userType;
    private String userName;
    private String avatar;
    private List<String> roles;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
}
